<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
<input type="text" id="myInput" placeholder="搜索公司..." />
<table id="myTable">
    <tr class="header">
        <th style="width: 60%" onclick="sortTable(0)">公司名称</th>
        <th style="width: 40%" onclick="sortTable(1)">国家</th>
    </tr>

    <tr>
        <td>Alfreds Futterkiste</td>
        <td>Germany</td>
    </tr>
    <tr>
        <td>Berglunds snabbkop</td>
        <td>Sweden</td>
    </tr>
    <tr>
        <td>Island Trading</td>
        <td>UK</td>
    </tr>
    <tr>
        <td>Koniglich Essen</td>
        <td>Germany</td>
    </tr>
</table>
</body>
<script src="js.js"></script>
</html>